<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  User: zhouyanchao
  Date: 2017/10/19
--%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
	<base href="${BaseContext}">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>角色添加测试</title>
</head>
<body>


<form method="post" action="role/add.action">
	角色名：<input type="text" name="role.roleName">
	<br/>
	<c:forEach items="${permissions}" var="per">
		<input type="checkbox" name="role.permissions.id" value="${per.id}">${per.name}<br/>
	</c:forEach>

	<button value="">添加角色</button>
</form>

</body>
</html>
